package com.ssy.lingxi.platform.template.api.hystrix.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.template.api.feign.inner.CategoryWebInnerControllerFeign;
import com.ssy.lingxi.platform.template.api.model.dto.inner.CategorySortDTO;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

/**
 * @author lqa
 * @version 2.0.0
 * @date 2022/1/6
 */
@Component
public class CategoryWebInnerHystrix implements CategoryWebInnerControllerFeign {
    @Override
    public Wrapper<Void> updateCategorySort(@Valid CategorySortDTO dto) {
        return Wrapper.failService("服务调用异常");
    }
}
